04. Quizzes: XML

Quizzes: XML

What are some differences between HTML and XML.

SOLUTION:
  • HTML is used for describing web pages and XML can be used for general applications like use, store, transmit, and display data.
  • HTML has fixed set of tags where XML is extensible, can have any names on tags.

How do you define a list in XML

SOLUTION: Using repeating tags, similar to the list elements on HTML `
  • Element 1
  • Element 2
`

QUIZ QUESTION::

Thinking about Attributes vs Elements, attach each property to the appropriate concept.

ANSWER CHOICES:



Concept

Properties

Attributes - Repetition

Attributes - Nested data

Elements - Repetition

Elements - Nested data

SOLUTION:

Concept

Properties

Elements - Repetition

Attributes - Nested data

Elements - Nested data

Attributes - Repetition